package com.ipt.frm.hola.bean;

public class Student {

	private int id;
	private String firstName;
	private String lastName;
	private String apellido2;
	private int age;
	private String phone;

	// Must have no-argument constructor

	public Student(String fname, String lname, int age, int id, String lPhone,
			String lapellido2) {
		this.firstName = fname;
		this.lastName = lname;
		this.apellido2 = lapellido2;
		this.age = age;
		this.id = id;
		this.phone = lPhone;
	}

	public void setFirstName(String fname) {
		this.firstName = fname;
	}

	public String getFirstName() {
		return this.firstName;
	}

	public void setlastName(String lname) {
		this.lastName = lname;
	}

	public String getLastName() {
		return this.lastName;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public int getAge() {
		return this.age;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getId() {
		return this.id;
	}

	public String getApellido2() {
		return this.apellido2;
	}

	public void setApellido2(String apellido2) {
		this.apellido2 = apellido2;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	@Override
	public String toString() {
		return "Student [id=" + this.id + ", firstName=" + firstName
				+ ", apellido1=" + lastName + ", apellido2=" + apellido2
				+ ", age=" + age + ", phone=" + phone + "]";
	}

}
